package com.attendance.www.hr.dao.mapper;

import com.attendance.www.hr.entitys.RoleDepartment;
import com.attendance.www.hr.entitys.RoleDepartmentExample;
import com.attendance.www.hr.entitys.RoleDepartmentKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleDepartmentMapper {
    int countByExample(RoleDepartmentExample example);

    int deleteByExample(RoleDepartmentExample example);

    int deleteByPrimaryKey(RoleDepartmentKey key);

    int insert(RoleDepartment record);

    int insertSelective(RoleDepartment record);

    List<RoleDepartment> selectByExample(RoleDepartmentExample example);

    RoleDepartment selectByPrimaryKey(RoleDepartmentKey key);

    int updateByExampleSelective(@Param("record") RoleDepartment record, @Param("example") RoleDepartmentExample example);

    int updateByExample(@Param("record") RoleDepartment record, @Param("example") RoleDepartmentExample example);

    int updateByPrimaryKeySelective(RoleDepartment record);

    int updateByPrimaryKey(RoleDepartment record);
}